package com.xjc.service.impl;

import com.xjc.mapper.PersonMapper;
import com.xjc.pojo.Person;
import com.xjc.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author:谢君臣
 * @Date:2021/6/7-14:58
 * @version:1.0
 * @function:
 */
@Service
public class PersonServiceimpl implements PersonService {

    @Autowired()
//    @Qualifier("personMapperimpl2")
    private PersonMapper personMapper;

    @Override
    public List<Person> getListPerson() {
      return  personMapper.getListPerson();
    }

}
